
export default [
    //设置学生成绩分析
    {
        path:'/home/analyExam',
        name:'analyExam',
        component:()=> import('@/views/Home/Analy/AnalyExam.vue'),
        meta:[
            {
                name:'首页',
                url:'/home'
            },
            {
                name:'学生成绩分析'
            }
        ]
    },
    //学生信息录入
    {
        path: '/home/enter_student_info',
        name: 'enter_student_info',
        component: () => import('@/views/Home/Enter/StudentInfo.vue'),
        meta: [
            {
                url: '/home',
                name: "首页"
            },
            {
                name: "学生信息录入"
            }
        ]
    },
    //拍照上传路由
    {
        path: '/home/cameraUpload',
        name: 'cameraUpload',
        component: () => import('@/views/Home/Enter/CameraUpload.vue')
    },
    //所有学生信息查询带头像的路由
    {
        path: '/home/allInfoHeader',
        name: 'allInfoHeader',
        component: () => import('@/views/Home/Find/AllInfo/AllInfoHeader.vue'),
        meta: [
            {
                url: '/home',
                name: '首页'
            },
            {
                url: '/home/find_student_info',
                name: '学生信息查询'
            },
            {
                url: '/home/find_student_info',
                name: '所有学生信息查询'
            },
            {
                name: '前台分页-带头像的所有学生信息查询'
            }
        ]
    },
    //后台分页
    {
        path:'/home/allInfoHeaderHou',
        name:'allInfoHeaderHou',
        component:()=> import('@/views/Home/Find/AllInfo/AllInfoHeaderHou.vue'),
        meta: [
            {
                url: '/home',
                name: '首页'
            },
            {
                url: '/home/find_student_info',
                name: '学生信息查询'
            },
            {
                url: '/home/find_student_info',
                name: '所有学生信息查询'
            },
            {
                name: '后台分页-带头像的所有学生信息查询'
            }
        ]
    },
    //所有学生信息 不带头像 的路由
    {
        path: '/home/allInfoNotHeader',
        name: 'allInfoNotHeader',
        component: () => import('@/views/Home/Find/AllInfo/AllInfoNotHeader.vue'),
        meta: [
            {
                url: '/home',
                name: '首页'
            },
            {
                url: '/home/find_student_info',
                name: '学生信息查询'
            },
            {
                url: '/home/find_student_info',
                name: '所有学生信息查询'
            },
            {
                name: '不带头像的所有学生信息查询'
            }
        ]
    },
    {
        path: "/home/find_student_info",
        name: 'find_student_info',
        component: () => import('@/views/Home/Find/StudentInfoFind.vue'),
        meta: [
            {
                url: '/home',
                name: '首页'
            },
            {
                name: '学生信息查询'
            }

        ],
        children: [
            //单个学生信息查询
            {
                path: '/home/find_student_info/personalInfo',
                name: 'personalInfo',
                component: () => import('@/views/Home/Find/PersonalInfo.vue'),
                meta: [
                    {
                        url: '/home',
                        name: '首页'
                    },
                    {
                        url: '/home/find_student_info',
                        name: '学生信息查询'
                    },
                    {
                        name: '单个学生信息查询'
                    }
                ]
            },
            //所有学生信息查询
            {
                path: '/home/find_student_info/allInfo',
                name: 'allInfo',
                component: () => import('@/views/Home/Find/AllInfo.vue'),
                meta: [
                    {
                        url: '/home',
                        name: '首页'
                    },
                    {
                        url: '/home/find_student_info',
                        name: '学生信息查询'
                    },
                    {
                        name: '所有学生信息查询'
                    }
                ]
            }
        ]
    },

    {
        path: '/home/stuDetail',
        name: 'stuDetail',
        component: () => import('@/views/Home/Find/AllInfo/StuDetail.vue')
    },
    {
        path: '/home/test_reset_component',
        name: 'test_reset_component',
        component: () => import('@/views/Text/TestResetComponent.vue')
    },
    //设置学生成绩录入表
    {
        path:'/home/enteryExam',
        name:'enteryExam',
        component:()=> import ('@/views/Home/Exam/enter/EnteryExam.vue'),
        meta:[
            {
                name:'首页',
                url:'/home'
            },
            {
                name:'学生成绩录入'
            }
        ]
    },
    //设置入学成绩
    {
        path:'/home/enterEnterExam',
        name:'enterEnterExam',
        component:()=>import('@/views/Home/Exam/enter/son/EnterEnterExam.vue'),
        meta:[
            {
                name:'首页',
                url:'/home'
            },
            {
                name:'学生成绩录入',
                url:'/home/enteryExam'
            },
            {
                name:'入学考试成绩录入'
            }
        ]
    },
    //设置期中考试成绩录入
    {
        path:'/home/enterMidExam',
        name:'enterMidExam',
        component:()=>import('@/views/Home/Exam/enter/son/EnterMidExam.vue'),
        meta:[
            {
                name:'首页',
                url:'/home'
            },
            {
                name:'学生成绩录入',
                url:'/home/enteryExam'
            },
            {
                name:'期中考试成绩录入'
            }
        ]
    },
    //设置期末考试成绩录入
    {
        path:'/home/enterEndExam',
        name:'enterEndExam',
        component:()=>import('@/views/Home/Exam/enter/son/EnterEndExam.vue'),
        meta:[
            {
                name:'首页',
                url:'/home'
            },
            {
                name:'学生成绩录入',
                url:'/home/enteryExam'
            },
            {
                name:'期末考试成绩录入'
            }
        ]
    },
    //设置学生成绩查询表
    {
        path:'/home/examFind',
        name:'examFind',
        component:()=>import ('@/views/Home/Exam/find/ExamFind.vue'),
        meta:[
            {
                name:'首页',
                url:'/home'
            },
            {
                name:'学生成绩查询'
            }
        ]
    },
    //设置入学考试查询
    {
        path:'/home/findEnteryExam',
        name:'findEnteryExam',
        component:()=> import ('@/views/Home/Exam/find/son/FindEnteryExam.vue'),
        meta:[
            {
                name:'首页',
                url:'/home'
            },
            {
                name:'学生成绩查询',
                url:'/home/examFind'
            } ,
            {
                name:'入学考试成绩查询'
            }
        ]
    },
    //设置期中考试查询
    {
        path:'/home/findMidExam',
        name:'findMidExam',
        component:()=>import('@/views/Home/Exam/find/son/FindMidExam.vue'),
        meta:[
            {
                name:'首页',
                url:'/home'
            },
            {
                name:'学生成绩查询',
                url:'/home/examFind'
            } ,
            {
                name:'期中考试成绩查询'
            }
        ]
    },
    //设置期末考试查询
    {
        path:'/home/findEndExam',
        name:'findEndExam',
        component:()=> import('@/views/Home/Exam/find/son/FindEndExam.vue'),
        meta:[
            {
                name:'首页',
                url:'/home'
            },
            {
                name:'学生成绩查询',
                url:'/home/examFind'
            } ,
            {
                name:'期中考试成绩查询'
            }
        ]
    }
]